import React, { useState } from 'react'
import './App.css'
import ParentComponent from './components/parent-component.jsx'

function App() {
  const [count, setCount] = useState(0)

  return (
    <div className="App">
      <header className="App-header">
        <p>
          <button onClick={() => setCount((count) => count + 1)}>
            count is: {count}
          </button>
        </p>
        <ParentComponent></ParentComponent>
      </header>
    </div>
  )
}

export default App
